package com.redis.client;

import javafx.application.Application;
import javafx.application.HostServices;

public class Global {

    private static Global instance;
    private Global(){
    }

    public HostServices host;

    public void init(Application application) {
        host = application.getHostServices();
    }


    public static Global getInstance() {
        if(instance == null) {
            instance = new Global();
        }
        return instance;
    }

}
